package com.expand.learn.importor.http;

import lombok.AllArgsConstructor;

/**
 * @author zhanghaidong
 * @version v1.0
 * @description
 * @date 2020/3/11
 */
@AllArgsConstructor
public class StringHttpResult implements HttpResult<String> {
    private String result;
    private int status;

    @Override
    public String getResponse() {
        return this.result;
    }

    @Override
    public int getStatus() {
        return this.status;
    }
}
